package com.xiaoyu.client.model.goods;

import java.io.Serializable;
import java.util.List;

/**
 * 商品规格实体类
 */
public class GoodsFormatBean {

    /**
     * code : y200
     * message : 成功
     * data : [{"goodsdetailsid":"1","goodsdetailsname":"100*100cm/红色","goodsprice1":"120.00","goodsprice2":"200.00","goodsid":"1","goodsinventory":"100","goodsdeimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608600.png"},{"goodsdetailsid":"3","goodsdetailsname":"10*10cm/红色","goodsprice1":"100.00","goodsprice2":"200.00","goodsid":"1","goodsinventory":"100","goodsdeimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608600.png"}]
     */

    private String code;
    private String message;
    private List<FormatParam> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<FormatParam> getData() {
        return data;
    }

    public void setData(List<FormatParam> data) {
        this.data = data;
    }

    public static class FormatParam implements Serializable{
        /**
         * goodsdetailsid : 1
         * goodsdetailsname : 100*100cm/红色
         * goodsprice1 : 120.00
         * goodsprice2 : 200.00
         * goodsid : 1
         * goodsinventory : 100
         * goodsdeimg : http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608600.png
         */

        private String goodsdetailsid;//规格id
        private String goodsdetailsname;//商品规格名称
        private String goodsprice1;//商品交易的价格
        private String goodsprice2;
        private String goodsid;//商品id
        private String goodsinventory;//库存量
        private String goodsdeimg;//商品规格展示图片

        public String getGoodsdetailsid() {
            return goodsdetailsid;
        }

        public void setGoodsdetailsid(String goodsdetailsid) {
            this.goodsdetailsid = goodsdetailsid;
        }

        public String getGoodsdetailsname() {
            return goodsdetailsname;
        }

        public void setGoodsdetailsname(String goodsdetailsname) {
            this.goodsdetailsname = goodsdetailsname;
        }

        public String getGoodsprice1() {
            return goodsprice1;
        }

        public void setGoodsprice1(String goodsprice1) {
            this.goodsprice1 = goodsprice1;
        }

        public String getGoodsprice2() {
            return goodsprice2;
        }

        public void setGoodsprice2(String goodsprice2) {
            this.goodsprice2 = goodsprice2;
        }

        public String getGoodsid() {
            return goodsid;
        }

        public void setGoodsid(String goodsid) {
            this.goodsid = goodsid;
        }

        public String getGoodsinventory() {
            return goodsinventory;
        }

        public void setGoodsinventory(String goodsinventory) {
            this.goodsinventory = goodsinventory;
        }

        public String getGoodsdeimg() {
            return goodsdeimg;
        }

        public void setGoodsdeimg(String goodsdeimg) {
            this.goodsdeimg = goodsdeimg;
        }
    }
}
